﻿@using System.Globalization
@using EasyUIMvc
@using EasyUIMvc.Samples.App_Start
@{
    ViewBag.Title = "NumberBox";
}

<h2>NumberBox</h2>

@Html.EasyUI().NumberBox(settings =>
                      {
                          settings.Id = "NumberBox";
                          settings.Value = 12345678925;
                          settings.CurrencySymbolPosition = (int)EnumHelper.CurrencySymbolPosition.Right;
                          settings.NumberFormat = new NumberFormatInfo
                                                  {
                                                      CurrencyDecimalSeparator = ",",
                                                      CurrencyDecimalDigits = 2,
                                                      CurrencyGroupSeparator = ".",
                                                      CurrencySymbol = ""
                                                  };
                      }).GetHtml()